package com.book.manager.model;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * @author: yfan-chen
 * @description:
 * @create: 2021-08-31 22:21
 **/
@Data
public class BookStock {
    @TableId(type = IdType.AUTO)
    @ApiModelProperty(value = "主键Id")
    private Integer bookStockId;
    @ApiModelProperty(value = "主键Id")
    private Integer bookId;
    @ApiModelProperty(value = "书籍号，每本书籍唯一")
    private String bookCode;
    @ApiModelProperty(value = "库存状态，1：在库；0：借出")
    private Integer stockStatus;
    @ApiModelProperty(value = "createTime")
    private Long createTime;
    @ApiModelProperty(value = "updateTime")
    private Long updateTime;
    @ApiModelProperty(value = "有效性")
    private Integer isValid;
}
